<div id="staticTipLayer" style="position: absolute; z-index: 10000; visibility: hidden;
 left: 0px; top: 0px; width: 10px">&nbsp;</div>
<table class="admin">
    <tr>
        <td class="admin_left">
    		<img alt="" src="/images/gallery_admin/category.gif" />
    		<div class="gl"><img alt="" src="/images/gallery_admin/spacer.gif" height="31" width="1" /></div>
    			<a href="#" class="category">Studio Processor</a>
    				<a href="#" class="sub_category2">Computer Interface</a>
    			<a href="#" class="sub_category">Microphone</a>
    				<a href="#" class="sub_category2">Multitrack Recording</a>
    				<a href="#" class="sub_category2">Microphone Microphone Microphone </a>
    			<a href="#" class="category">Mixer</a>
    			<a href="#" class="category">Studio Monitor</a>
    			<a href="#" class="category">Studio Processor</a>
    			<br /><img alt="" src="/images/gallery_admin/spacer.gif" height="162" width="1" /><br />
    		<div class="button_add"><img alt="" src="/images/gallery_admin/img.gif" vspace="12" /> &nbsp; <a href="#">Add Category</a></div>
    		<br />
    		<img alt="" src="/images/gallery_admin/search.gif" vspace="10" />
    		<div class="gl"><img alt="" src="/images/gallery_admin/spacer.gif" height="11" width="1" /></div>
            <%= form_remote_tag(:url=>{:action => 'search'}, :post=> true, :update => 'admin_gallery', :before=>"show_loader('admin_gallery');") %>
            
                <%= text_field 'search','keyword', {"class"=>"search_input",:size=>"0"}%>
                <%= image_submit_tag '/images/gallery_admin/button_go.gif'%><br/>
                <%= check_box('search', 'brief_descr',{:checked=>'checked'})%>By brief description<br/>
                <%= check_box('search', 'full_descr',{:checked=>'checked'})%>By full description<br/>
                <%= check_box('search', 'name',{:checked=>'checked'})%>By name<br/>
                <%= check_box('search', 'author',{:checked=>'checked'})%>By author<br/>
            <% end_form_tag%>
    	</td>
    	<td></td>
    	<td class="admin_right">
    		<div class="admin_right_top"><a href="#"><img alt="" src="/images/gallery_admin/gallery.gif"></a><a href="#"><img alt="" src="/images/gallery_admin/settings.gif" hspace="1"></a><img alt="" src="/images/gallery_admin/spacer.gif" height="1" width="32" /><%= flash[:notice]%></div>
    		<div class="admin_gallery">
    		<% for image in @images -%>		
    		     <a name="staticLink" href="#" onmouseover="show_inf('<%= image.name %>','<%= image.image_url %>','<%= url_for(:action=>'edit_image',:id=>image) %>','<%= url_for(:action=>'delete_image',:id=>image) %>');" onmouseout="staticTip.hide()"><%= image_tag image.thumb_url, :alt=>image.name %></a>
    		<% end %>
    		</div>
    		<div class="img_info"><p>Description:</p>
    				Boston law firms while Bos
    				ton law firms while At 
    			<ul>
    				<li><a href="#">Make child of...</a></li>
    				<li><a href="#">Edit</a></li>
    				<li><a href="#">Delete</a></li>
    			</ul>
    		</div>
    	</td>
    </tr>
</table>